package com.sugar.persistence.oa.hr;

import java.util.LinkedHashMap;
import java.util.List;

import com.sugar.base.query.PageModel;
import com.sugar.domain.oa.hr.Department;

public interface IDepartment {

	public void saveDeptDao(Department dept) throws RuntimeException ;
	
	public void deleteDeptDao(Department dept) throws RuntimeException ;
	
	public void deleteSelectDeptDao(Object[] ids) throws RuntimeException ;
	
	public void updateDeptDao(Department dept) throws RuntimeException ;
	
	public Department loadDeptByIdDao(String id) throws RuntimeException ;
	
	public List<Department> findDeptDao(String queryString,String whereStr,Object[] param,LinkedHashMap<String, String> orderby) throws RuntimeException ;
	
	public PageModel<Department> getScorllDeptDao(String queryString,String whereStr,Object[] param,int firstPage,int pageSize,LinkedHashMap<String, String> orderby) throws RuntimeException ;
	
	
	
}
